PangoAlignment

PangoAlignment describes how to align the lines of a PangoLayout within the available space.

If the PangoLayout is set to justify using [method@Pango.Layout.set_justify], this only affects partial lines.

See [method@Pango.Layout.set_auto_dir] for how text direction affects the interpretation of PangoAlignment values.

Values

ValueMeaning
LEFT0

Put all available space on the right

CENTER1

Center the line within the available space

Meta